package com.hhkj.api.course.model.req;

import com.hhkj.admin.course.model.dopo.CoursePriceConfDo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * ApiCoursePriceReq
 *
 * @author zheng
 * @since 2023/11/2 21:20
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiCoursePriceReq extends CoursePriceConfDo {

    @NotNull(message = "课程id不能为空")
    @Override
    public Long getCourseId() {
        return super.getCourseId();
    }
}
